import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

// 引入element-ui
import Element from 'element-ui'
// 引入 eLement-ui 样式
import 'element-ui/lib/theme-chalk/index.css';

// 引入 axios
import axios from 'axios'
import Vueaxios from 'vue-axios'

// 全局引用
Vue.use(Element);

// 配置 axios 基础接口路径
axios.defaults.baseURL = 'http://10.1.188.126:8888';

Vue.use(Vueaxios, axios);

Vue.config.productionTip = false;

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app');
